package week7;

public class Car {private String color;private String brand;private int wheels;

    public Car(String color, String brand, int wheels) {
        this.color = color;
        this.brand = brand;
        this.wheels = wheels;
    }
    public void move(){
        System.out.println("会动");
    }
    public void person(){
        System.out.println("会撞人");
    }
    public void introduce(){
        System.out.println("颜色:"+color+"  牌子:"+brand+"  轮胎个数:"+wheels);
    }
}
